-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change to dialect generator #691
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #691 +/- ##
===========================================
+ Coverage 21.66% 38.03% +16.36%
===========================================
Files 46 85 +39
Lines 8048 15896 +7848
===========================================
+ Hits 1744 6046 +4302
- Misses 6304 9850 +3546 ☔ View full report in Codecov by Sentry. |
src/mlir/Dialects/MPI.jl
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, there are still a few files with changes in permissions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx, each time I format I have to change them. It seems some are 644 and some are 755. Now, all dialects files are 755. I don't know how CI set the permission.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh right that's probably from
Reactant.jl/.github/workflows/regenerate-mlir-bindings.yml
Lines 43 to 47 in 95f6074
- name: Make generated files writable | |
run: | | |
chmod -R u+rw ./src/mlir/Dialects/ | |
chmod u+rw ./src/mlir/libMLIR_h.jl | |
git config core.fileMode false |
rebase #660 & #447. @mofeing I messed up #660 so I open a new PR.
Several modifications:
result_
toresult
result_layouts=nothing::Union{Attribute, Nothing}
doesn't constraintresult_layouts
so change to :result_layouts::Union{Attribute, Nothing} =nothing
EnumAttr
: using Attr parsing (MLIR doesn't expose methods in C to easily construct arbitrary attribute) and discriminant.conv